package org.ools.nools;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class MatcherUtils {

	public static Matcher getFirstMatcher(String regex, String input) {
		Matcher m = Pattern.compile(regex).matcher(input);
		if(m.find())
			return m;
		return null;
	}
}
